package com.grass.p019lv.databinding;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import androidx.viewpager.widget.ViewPager;
import com.androidsa.bttsddka.R;
import com.androidx.p013lv.base.view.CircleImageView;
import com.google.android.material.tabs.TabLayout;
import com.grass.p019lv.fragment.MineFragment;
import com.grass.p019lv.generated.callback.OnClickListener;
import com.grass.p019lv.novel.activity.AudioAnchorDetailsActivity;

/* renamed from: com.grass.lv.databinding.ActivityAudioAnchorDetailsBindingImpl */
public class ActivityAudioAnchorDetailsBindingImpl extends ActivityAudioAnchorDetailsBinding implements OnClickListener.Listener {
    private static final ViewDataBinding.IncludedLayouts sIncludes = null;
    private static final SparseIntArray sViewsWithIds;
    private final View.OnClickListener mCallback90;
    private final View.OnClickListener mCallback91;
    private long mDirtyFlags;
    private final LinearLayout mboundView0;
    private final LinearLayout mboundView2;

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public boolean onFieldChange(int i, Object obj, int i2) {
        return false;
    }

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        sViewsWithIds = sparseIntArray;
        sparseIntArray.put(R.id.toolbar, 4);
        sViewsWithIds.put(R.id.tv_back, 5);
        sViewsWithIds.put(R.id.tv_tool_title, 6);
        sViewsWithIds.put(R.id.ll_title_name, 7);
        sViewsWithIds.put(R.id.tv_title, 8);
        sViewsWithIds.put(R.id.tv_attention_num, 9);
        sViewsWithIds.put(R.id.tv_listen_num, 10);
        sViewsWithIds.put(R.id.tv_attention, 11);
        sViewsWithIds.put(R.id.tab_layout, 12);
        sViewsWithIds.put(R.id.view_pager, 13);
    }

    public ActivityAudioAnchorDetailsBindingImpl(DataBindingComponent dataBindingComponent, View view) {
        this(dataBindingComponent, view, mapBindings(dataBindingComponent, view, 14, sIncludes, sViewsWithIds));
    }

    private ActivityAudioAnchorDetailsBindingImpl(DataBindingComponent dataBindingComponent, View view, Object[] objArr) {
        super(dataBindingComponent, view, 0, (CircleImageView) objArr[1], (ImageView) objArr[3], (LinearLayout) objArr[7], (TabLayout) objArr[12], (Toolbar) objArr[4], (TextView) objArr[11], (TextView) objArr[9], (TextView) objArr[5], (TextView) objArr[10], (TextView) objArr[8], (TextView) objArr[6], (ViewPager) objArr[13]);
        this.mDirtyFlags = -1;
        this.civCover.setTag(null);
        this.ivBgOpenVip.setTag(null);
        LinearLayout linearLayout = (LinearLayout) objArr[0];
        this.mboundView0 = linearLayout;
        linearLayout.setTag(null);
        LinearLayout linearLayout2 = (LinearLayout) objArr[2];
        this.mboundView2 = linearLayout2;
        linearLayout2.setTag(null);
        setRootTag(view);
        this.mCallback90 = new OnClickListener(this, 1);
        this.mCallback91 = new OnClickListener(this, 2);
        invalidateAll();
    }

    @Override // androidx.databinding.ViewDataBinding
    public void invalidateAll() {
        synchronized (this) {
            this.mDirtyFlags = 4;
        }
        requestRebind();
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean hasPendingBindings() {
        synchronized (this) {
            if (this.mDirtyFlags != 0) {
                return true;
            }
            return false;
        }
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean setVariable(int i, Object obj) {
        if (87 == i) {
            mo25606c((String) obj);
        } else if (34 != i) {
            return false;
        } else {
            setClick((AudioAnchorDetailsActivity.OnClicks) obj);
        }
        return true;
    }

    @Override // com.grass.p019lv.databinding.ActivityAudioAnchorDetailsBinding
    /* renamed from: c */
    public void mo25606c(String str) {
        this.f1954a = str;
        synchronized (this) {
            this.mDirtyFlags |= 1;
        }
        notifyPropertyChanged(87);
        super.requestRebind();
    }

    @Override // com.grass.p019lv.databinding.ActivityAudioAnchorDetailsBinding
    public void setClick(AudioAnchorDetailsActivity.OnClicks onClicks) {
        this.mClick = onClicks;
        synchronized (this) {
            this.mDirtyFlags |= 2;
        }
        notifyPropertyChanged(34);
        super.requestRebind();
    }

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public void executeBindings() {
        long j;
        synchronized (this) {
            j = this.mDirtyFlags;
            this.mDirtyFlags = 0;
        }
        String str = this.f1954a;
        AudioAnchorDetailsActivity.OnClicks onClicks = this.mClick;
        if ((5 & j) != 0) {
            MineFragment.loadUserLogo(this.civCover, str);
        }
        if ((j & 4) != 0) {
            this.ivBgOpenVip.setOnClickListener(this.mCallback91);
            this.mboundView2.setOnClickListener(this.mCallback90);
        }
    }

    @Override // com.grass.p019lv.generated.callback.OnClickListener.Listener
    public final void _internalCallbackOnClick(int i, View view) {
        boolean z = false;
        if (i == 1) {
            AudioAnchorDetailsActivity.OnClicks onClicks = this.mClick;
            if (onClicks != null) {
                z = true;
            }
            if (z) {
                onClicks.btnAttention();
            }
        } else if (i == 2) {
            AudioAnchorDetailsActivity.OnClicks onClicks2 = this.mClick;
            if (onClicks2 != null) {
                z = true;
            }
            if (z) {
                onClicks2.btnBuyVip();
            }
        }
    }
}
